import { Random } from 'mockjs'

const loginInfo = {
    code: 200,
    success: true,
    data: {
        name: Random.name(),
        address: Random.province() + ' ' + Random.city()
    }
}

export default {
    // 返回登录信息
    getLoginInfo: ()=>{
        return {
            ...loginInfo
        }
    },
     updateUserInfo: ()=>{
         return {
             ...loginInfo
         }
    }
}
